package com.hdy.javachatroomdemo.Enum;

public enum ResultCodeEnum {
    SUCCESS(2000,"响应成功"),
    FAIL(3000,"响应失败"),
    FAIL_UNLOGIN(3001,"用户未登录"),





    FAIL_TRANSFER_TYPE(3102,"消息类型错误"),






    FAIL_UPLOAD_FILE(3203,"上传文件失败");
    private Integer code;
    private String msg;
    ResultCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    public Integer getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }

}
